<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<h1 th:text="${bool}" th:if="${bool =='T'}">条件不满足</h1>
<h1 th:text="${bool}" th:if="${bool =='F'}">条件不满足</h1>
<hr>
<h1 th:unless="${bool =='T'}" th:text="如果${bool}的值为T,则不显示内容,否则显示内容${bool}"></h1>
<hr>


</body>
</html>